package com.threeti.jiayusms.web.form;

import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;

import com.threeti.jiayusms.framework.web.form.AbstractDynaSearchCriteriaForm;
import com.threeti.jiayusms.interfaces.DefaultTemplateDynaCriteriaDto;


public class DefaultTemplateForm extends AbstractDynaSearchCriteriaForm {
	public static final String SESSION_DYNA_CRITERIA_KEY = 
		(DefaultTemplateForm.class.getSimpleName() + "." + DefaultTemplateDynaCriteriaDto.class.getSimpleName());
	
  private Map<String, String> nodeMap;  
  private Map<String, String> productTypeMap;
  private Map<String, String> conditionTypeMap;
  private Map<String, String> conditionMap;
  
  private String smsorvoicekey;

  private String descriptionTxt;
  
  private String previewOrderIdTxt;
  private String messageTemplateIdTxt;
  private String msgTimeTemplateIdTxt;
  private String voiceTemplateIdTxt;
  private String voiceTimeTemplateIdTxt;
  
  private String msgRuleTemplateIdTxt;
  private String voiceRuleTemplateIdTxt;

  private String msgNodeSlt;
  private String voiceNodeSlt;

  private String msgProductTypeSlt;
  private String voiceProductTypeSlt;
  
	private String msgConditionTypeSlt;  
  private String voiceConditionTypeSlt;
  
	private String msgConditionSlt;
  private String voiceConditionSlt;

  private String msgEnabledSlt;
  private String voiceEnabledSlt;
  
	private String defaultTemplateIdTxt;
	private String defaultTemplateDescriptionTxt;
  private String enabledSlt;
  
  public String getSmsorvoicekey() {
    return smsorvoicekey;
  }

  public void setSmsorvoicekey(String smsorvoicekey) {
    this.smsorvoicekey = smsorvoicekey;
  }

  public String getEnabledSlt() {
    return enabledSlt;
  }

  public void setEnabledSlt(String enabledSlt) {
    this.enabledSlt = enabledSlt;
  }

  public String getDefaultTemplateDescriptionTxt() {
    return defaultTemplateDescriptionTxt;
  }

  public void setDefaultTemplateDescriptionTxt(String defaultTemplateDescriptionTxt) {
    this.defaultTemplateDescriptionTxt = defaultTemplateDescriptionTxt;
  }

  public String getMsgRuleTemplateIdTxt() {
    return msgRuleTemplateIdTxt;
  }

  public void setMsgRuleTemplateIdTxt(String msgRuleTemplateIdTxt) {
    this.msgRuleTemplateIdTxt = msgRuleTemplateIdTxt;
  }

  public String getVoiceRuleTemplateIdTxt() {
    return voiceRuleTemplateIdTxt;
  }

  public void setVoiceRuleTemplateIdTxt(String voiceRuleTemplateIdTxt) {
    this.voiceRuleTemplateIdTxt = voiceRuleTemplateIdTxt;
  }

  public String getDescriptionTxt() {
    return descriptionTxt;
  }

  public void setDescriptionTxt(String descriptionTxt) {
    this.descriptionTxt = descriptionTxt;
  }

  public String getVoiceTemplateIdTxt() {
    return voiceTemplateIdTxt;
  }

  public void setVoiceTemplateIdTxt(String voiceTemplateIdTxt) {
    this.voiceTemplateIdTxt = voiceTemplateIdTxt;
  }

  public String getVoiceTimeTemplateIdTxt() {
    return voiceTimeTemplateIdTxt;
  }

  public void setVoiceTimeTemplateIdTxt(String voiceTimeTemplateIdTxt) {
    this.voiceTimeTemplateIdTxt = voiceTimeTemplateIdTxt;
  }

  public String getMsgTimeTemplateIdTxt() {
    return msgTimeTemplateIdTxt;
  }

  public void setMsgTimeTemplateIdTxt(String msgTimeTemplateIdTxt) {
    this.msgTimeTemplateIdTxt = msgTimeTemplateIdTxt;
  }

  public String getMessageTemplateIdTxt() {
    return messageTemplateIdTxt;
  }

  public void setMessageTemplateIdTxt(String messageTemplateIdTxt) {
    this.messageTemplateIdTxt = messageTemplateIdTxt;
  }

  public String getPreviewOrderIdTxt() {
    return previewOrderIdTxt;
  }

  public void setPreviewOrderIdTxt(String previewOrderIdTxt) {
    this.previewOrderIdTxt = previewOrderIdTxt;
  }

  public String getVoiceEnabledSlt() {
    return voiceEnabledSlt;
  }

  public void setVoiceEnabledSlt(String voiceEnabledSlt) {
    this.voiceEnabledSlt = voiceEnabledSlt;
  }

  public String getVoiceConditionTypeSlt() {
    return voiceConditionTypeSlt;
  }

  public void setVoiceConditionTypeSlt(String voiceConditionTypeSlt) {
    this.voiceConditionTypeSlt = voiceConditionTypeSlt;
  }
  
  public String getVoiceConditionSlt() {
    return voiceConditionSlt;
  }

  public void setVoiceConditionSlt(String voiceConditionSlt) {
    this.voiceConditionSlt = voiceConditionSlt;
  }

  public void setNodeMap(Map<String, String> nodeMap) {
    this.nodeMap = nodeMap;
  }

  public void setProductTypeMap(Map<String, String> productTypeMap) {
    this.productTypeMap = productTypeMap;
  }
  
  public void setConditionTypeMap(Map<String, String> conditionTypeMap) {
    this.conditionTypeMap = conditionTypeMap;
  }

  public void setConditionMap(Map<String, String> conditionMap) {
    this.conditionMap = conditionMap;
  }

  public Set<Entry<String, String>> getNodeOpts() {
    return nodeMap.entrySet();
  }

  public Set<Entry<String, String>> getProductTypeOpts() {
    return productTypeMap.entrySet();
  }

  public Set<Entry<String, String>> getConditionTypeOpts() {
    return conditionTypeMap.entrySet();
  }

  public Set<Entry<String, String>> getConditionOpts() {
    return conditionMap.entrySet();
  }
	
	public String getMsgNodeSlt() {
		return msgNodeSlt;
	}
	public void setMsgNodeSlt(String node) {
		this.msgNodeSlt = node;
	}
  
  public String getVoiceNodeSlt() {
    return voiceNodeSlt;
  }

  public void setVoiceNodeSlt(String voiceNodeSlt) {
    this.voiceNodeSlt = voiceNodeSlt;
  }
	public String getMsgProductTypeSlt() {
		return msgProductTypeSlt;
	}
	public void setMsgProductTypeSlt(String productType) {
		this.msgProductTypeSlt = productType;
	}
	
	public String getVoiceProductTypeSlt() {
    return voiceProductTypeSlt;
  }

  public void setVoiceProductTypeSlt(String voiceProductTypeSlt) {
    this.voiceProductTypeSlt = voiceProductTypeSlt;
  }

  public String getMsgConditionTypeSlt() {
		return msgConditionTypeSlt;
	}
	public void setMsgConditionTypeSlt(String conditionType) {
		this.msgConditionTypeSlt = conditionType;
	}
	public String getMsgConditionSlt() {
		return msgConditionSlt;
	}
	public void setMsgConditionSlt(String condition) {
		this.msgConditionSlt = condition;
	}
	
	public String getMsgEnabledSlt() {
    return msgEnabledSlt;
  }
  public void setMsgEnabledSlt(String enabledSlt) {
    this.msgEnabledSlt = enabledSlt;
  }
  public String getDefaultTemplateIdTxt() {
		return defaultTemplateIdTxt;
	}
	public void setDefaultTemplateIdTxt(String defaultTemplateIdTxt) {
		this.defaultTemplateIdTxt = defaultTemplateIdTxt;
	}
	
}
